package org.marsdonne.audits;

import com.fasterxml.jackson.databind.JsonNode;

public interface OperationAuditable {
    void operated(Operated operated);

    default void operated(String endpoint, String operator, String function, String command, JsonNode arguments) {
        this.operated(new Operated(endpoint, operator, function, command, arguments));
    }
}
